<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>


<title>
source for /templates/table.html
</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head><body>
<pre>## The displayMenu macro (at the bottom of this template) is defined in
## struts-menu.jar!/net/sf/displayer/globalMacros.vm. It has a callback to the #menuItem macro
## you see below. You can override this macro by creating a menuMacros.vm template
## at the root of your classpath

#macro( menuItem $menu $level )
  &lt;tr&gt;&lt;td&gt;
  #foreach ($i in [0..$level])
    &nbsp;&nbsp;
  #end
  #if ($menu.url)
    &lt;a href="$menu.url" title="$displayer.getMessage($menu.title)"&gt;

        $displayer.getMessage($menu.title)&lt;/a&gt;
  #else
    $displayer.getMessage($menu.title)
  #end
  &lt;/td&gt;&lt;/tr&gt;
#end

&lt;table&gt;
#displayMenu($menu 0)
&lt;/table&gt;</pre>
</body></html>